#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include<QCloseEvent>

#include "bootota.h"
#include "binfile.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class BootOTA;
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void closeEvent(QCloseEvent *);


private:
    Ui::MainWindow *ui;
    BootOTA* m_ota;
    BinFile* m_binfile;
};

#endif // MAINWINDOW_H
